home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: WinStat.h.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emith.dll: 2.33
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODWindowState_h
- #define SOM_ODWindowState_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODWindowState
- #define ODWindowState SOMObject
- #endif
- #include <ODObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef SOMClass
- #define SOMClass SOMObject
- #endif /* SOMClass */
- #ifndef SOMObject
- #define SOMObject SOMObject
- #endif /* SOMObject */
- #ifndef ODFrame
- #define ODFrame SOMObject
- #endif /* ODFrame */
- #ifndef ODFacet
- #define ODFacet SOMObject
- #endif /* ODFacet */
- #ifndef ODObject
- #define ODObject SOMObject
- #endif /* ODObject */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODWindowState
- #define ODWindowState SOMObject
- #endif /* ODWindowState */
- #ifndef ODCanvas
- #define ODCanvas SOMObject
- #endif /* ODCanvas */
- #ifndef ODDraft
- #define ODDraft SOMObject
- #endif /* ODDraft */
- #ifndef ODMenuBar
- #define ODMenuBar SOMObject
- #endif /* ODMenuBar */
- #ifndef ODPart
- #define ODPart SOMObject
- #endif /* ODPart */
- #ifndef ODShape
- #define ODShape SOMObject
- #endif /* ODShape */
- #ifndef ODTransform
- #define ODTransform SOMObject
- #endif /* ODTransform */
- #ifndef ODWindow
- #define ODWindow SOMObject
- #endif /* ODWindow */
- #ifndef ODWindowIterator
- #define ODWindowIterator SOMObject
- #endif /* ODWindowIterator */
- #ifndef ODWindowModule
- #define ODWindowModule SOMObject
- #endif /* ODWindowModule */
-
- /*
- * End of user-defined types.
- */
-
- #define ODWindowState_MajorVersion 1
- #define ODWindowState_MinorVersion 1
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODWindowStateClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define ODWindowState_classObj somNewClassReference(ODWindowState)
- #define _ODWindowState ODWindowState_classObj
- #define ODWindowStateCClassData ODWindowStateClassData
- #define ODWindowStateNewClass(major,minor) somNewVersionedClassReference(ODWindowState,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define ODWindowStateMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODWindowStateClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken RegisterWindow;
- somMToken RegisterWindowForFrame;
- somMToken AcquireWindow;
- somMToken Internalize;
- somMToken Externalize;
- somMToken SetDefaultWindowTitles;
- somMToken OpenWindows;
- somMToken CloseWindows;
- somMToken GetWindowCount;
- somMToken GetRootWindowCount;
- somMToken GetTotalRootWindowCount;
- somMToken IsODWindow;
- somMToken AcquireODWindow;
- somMToken CreateWindowIterator;
- somMToken AcquireActiveWindow;
- somMToken SetBaseMenuBar;
- somMToken CopyBaseMenuBar;
- somMToken AdjustPartMenus;
- somMToken CreateMenuBar;
- somMToken CreateCanvas;
- somMToken CreateFacet;
- somMToken AcquireCurrentMenuBar;
- somMToken AcquireBaseMenuBar;
- somMToken DeactivateFrontWindows;
- somMToken ActivateFrontWindows;
- somMToken AcquireFrontWindow;
- somMToken AcquireFrontFloatingWindow;
- somMToken AcquireFrontRootWindow;
- somMToken reserved1;
- somMToken reserved2;
- somMToken reserved3;
- somMToken reserved4;
- somMToken reserved5;
- somMToken reserved6;
- somMToken reserved7;
- somMToken reserved8;
- somMToken reserved9;
- somMToken reserved10;
- somMToken reserved11;
- somMToken reserved12;
- somMToken reserved13;
- somMToken reserved14;
- somMToken reserved15;
- somMToken reserved16;
- somMToken reserved17;
- somMToken reserved18;
- somMToken reserved19;
- somMToken reserved20;
- somMToken reserved21;
- somMToken reserved22;
- somMToken reserved23;
- somMToken reserved24;
- somMToken SetWindowModule;
- } SOMDLINK ODWindowStateClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(ODWindowState_Class_Source) && !defined(SOM_Module_winstat_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list ODWindowStateClassData
- #endif
- #endif
-
-
- /*
- * New macro for ODWindowState
- */
- #define ODWindowStateNew() somNewObject(ODWindowState)
-
- /*
- * Override method: somUninit
- */
- #define ODWindowState_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * Override method: Purge
- */
- #define ODWindowState_Purge(somSelf,ev,size) \
- ODObject_Purge(somSelf,ev,size)
-
- /*
- * New Method: RegisterWindow
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_RegisterWindow)(ODWindowState *somSelf, Environment *ev,
- ODPlatformWindow newWindow,
- ODType frameType,
- ODBoolean isRootWindow,
- ODBoolean isResizable,
- ODBoolean isFloating,
- ODBoolean shouldSave,
- ODBoolean shouldDispose,
- ODPart* rootPart,
- ODTypeToken viewType,
- ODTypeToken presentation,
- ODFrame* sourceFrame);
- #define somMD_ODWindowState_RegisterWindow "::ODWindowState::RegisterWindow"
- #define ODWindowState_RegisterWindow(somSelf,ev,newWindow,frameType,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,rootPart,viewType,presentation,sourceFrame) \
- (SOM_Resolve(somSelf, ODWindowState, RegisterWindow) \
- (somSelf,ev,newWindow,frameType,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,rootPart,viewType,presentation,sourceFrame))
- #ifndef SOMGD_RegisterWindow
- #if (defined(_RegisterWindow) || defined(__RegisterWindow))
- #undef _RegisterWindow
- #undef __RegisterWindow
- #define SOMGD_RegisterWindow 1
- #else
- #define _RegisterWindow ODWindowState_RegisterWindow
- #endif /* _RegisterWindow */
- #endif /* SOMGD_RegisterWindow */
-
- /*
- * New Method: RegisterWindowForFrame
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_RegisterWindowForFrame)(ODWindowState *somSelf, Environment *ev,
- ODPlatformWindow newWindow,
- ODFrame* frame,
- ODBoolean isRootWindow,
- ODBoolean isResizable,
- ODBoolean isFloating,
- ODBoolean shouldSave,
- ODBoolean shouldDispose,
- ODFrame* sourceFrame);
- #define somMD_ODWindowState_RegisterWindowForFrame "::ODWindowState::RegisterWindowForFrame"
- #define ODWindowState_RegisterWindowForFrame(somSelf,ev,newWindow,frame,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,sourceFrame) \
- (SOM_Resolve(somSelf, ODWindowState, RegisterWindowForFrame) \
- (somSelf,ev,newWindow,frame,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,sourceFrame))
- #ifndef SOMGD_RegisterWindowForFrame
- #if (defined(_RegisterWindowForFrame) || defined(__RegisterWindowForFrame))
- #undef _RegisterWindowForFrame
- #undef __RegisterWindowForFrame
- #define SOMGD_RegisterWindowForFrame 1
- #else
- #define _RegisterWindowForFrame ODWindowState_RegisterWindowForFrame
- #endif /* _RegisterWindowForFrame */
- #endif /* SOMGD_RegisterWindowForFrame */
-
- /*
- * New Method: AcquireWindow
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_AcquireWindow)(ODWindowState *somSelf, Environment *ev,
- ODID id);
- #define somMD_ODWindowState_AcquireWindow "::ODWindowState::AcquireWindow"
- #define ODWindowState_AcquireWindow(somSelf,ev,id) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireWindow) \
- (somSelf,ev,id))
- #ifndef SOMGD_AcquireWindow
- #if (defined(_AcquireWindow) || defined(__AcquireWindow))
- #undef _AcquireWindow
- #undef __AcquireWindow
- #define SOMGD_AcquireWindow 1
- #else
- #define _AcquireWindow ODWindowState_AcquireWindow
- #endif /* _AcquireWindow */
- #endif /* SOMGD_AcquireWindow */
-
- /*
- * New Method: Internalize
- */
- typedef void (SOMLINK *somTD_ODWindowState_Internalize)(ODWindowState *somSelf, Environment *ev,
- ODDraft* draft);
- #define somMD_ODWindowState_Internalize "::ODWindowState::Internalize"
- #define ODWindowState_Internalize(somSelf,ev,draft) \
- (SOM_Resolve(somSelf, ODWindowState, Internalize) \
- (somSelf,ev,draft))
- #ifndef SOMGD_Internalize
- #if (defined(_Internalize) || defined(__Internalize))
- #undef _Internalize
- #undef __Internalize
- #define SOMGD_Internalize 1
- #else
- #define _Internalize ODWindowState_Internalize
- #endif /* _Internalize */
- #endif /* SOMGD_Internalize */
-
- /*
- * New Method: Externalize
- */
- typedef void (SOMLINK *somTD_ODWindowState_Externalize)(ODWindowState *somSelf, Environment *ev,
- ODDraft* draft);
- #define somMD_ODWindowState_Externalize "::ODWindowState::Externalize"
- #define ODWindowState_Externalize(somSelf,ev,draft) \
- (SOM_Resolve(somSelf, ODWindowState, Externalize) \
- (somSelf,ev,draft))
- #ifndef SOMGD_Externalize
- #if (defined(_Externalize) || defined(__Externalize))
- #undef _Externalize
- #undef __Externalize
- #define SOMGD_Externalize 1
- #else
- #define _Externalize ODWindowState_Externalize
- #endif /* _Externalize */
- #endif /* SOMGD_Externalize */
-
- /*
- * New Method: SetDefaultWindowTitles
- */
- typedef void (SOMLINK *somTD_ODWindowState_SetDefaultWindowTitles)(ODWindowState *somSelf, Environment *ev,
- ODDraft* draft);
- #define somMD_ODWindowState_SetDefaultWindowTitles "::ODWindowState::SetDefaultWindowTitles"
- #define ODWindowState_SetDefaultWindowTitles(somSelf,ev,draft) \
- (SOM_Resolve(somSelf, ODWindowState, SetDefaultWindowTitles) \
- (somSelf,ev,draft))
- #ifndef SOMGD_SetDefaultWindowTitles
- #if (defined(_SetDefaultWindowTitles) || defined(__SetDefaultWindowTitles))
- #undef _SetDefaultWindowTitles
- #undef __SetDefaultWindowTitles
- #define SOMGD_SetDefaultWindowTitles 1
- #else
- #define _SetDefaultWindowTitles ODWindowState_SetDefaultWindowTitles
- #endif /* _SetDefaultWindowTitles */
- #endif /* SOMGD_SetDefaultWindowTitles */
-
- /*
- * New Method: OpenWindows
- */
- typedef void (SOMLINK *somTD_ODWindowState_OpenWindows)(ODWindowState *somSelf, Environment *ev,
- ODDraft* draft);
- #define somMD_ODWindowState_OpenWindows "::ODWindowState::OpenWindows"
- #define ODWindowState_OpenWindows(somSelf,ev,draft) \
- (SOM_Resolve(somSelf, ODWindowState, OpenWindows) \
- (somSelf,ev,draft))
- #ifndef SOMGD_OpenWindows
- #if (defined(_OpenWindows) || defined(__OpenWindows))
- #undef _OpenWindows
- #undef __OpenWindows
- #define SOMGD_OpenWindows 1
- #else
- #define _OpenWindows ODWindowState_OpenWindows
- #endif /* _OpenWindows */
- #endif /* SOMGD_OpenWindows */
-
- /*
- * New Method: CloseWindows
- */
- typedef void (SOMLINK *somTD_ODWindowState_CloseWindows)(ODWindowState *somSelf, Environment *ev,
- ODDraft* draft);
- #define somMD_ODWindowState_CloseWindows "::ODWindowState::CloseWindows"
- #define ODWindowState_CloseWindows(somSelf,ev,draft) \
- (SOM_Resolve(somSelf, ODWindowState, CloseWindows) \
- (somSelf,ev,draft))
- #ifndef SOMGD_CloseWindows
- #if (defined(_CloseWindows) || defined(__CloseWindows))
- #undef _CloseWindows
- #undef __CloseWindows
- #define SOMGD_CloseWindows 1
- #else
- #define _CloseWindows ODWindowState_CloseWindows
- #endif /* _CloseWindows */
- #endif /* SOMGD_CloseWindows */
-
- /*
- * New Method: GetWindowCount
- */
- typedef ODUShort (SOMLINK *somTD_ODWindowState_GetWindowCount)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_GetWindowCount "::ODWindowState::GetWindowCount"
- #define ODWindowState_GetWindowCount(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, GetWindowCount) \
- (somSelf,ev))
- #ifndef SOMGD_GetWindowCount
- #if (defined(_GetWindowCount) || defined(__GetWindowCount))
- #undef _GetWindowCount
- #undef __GetWindowCount
- #define SOMGD_GetWindowCount 1
- #else
- #define _GetWindowCount ODWindowState_GetWindowCount
- #endif /* _GetWindowCount */
- #endif /* SOMGD_GetWindowCount */
-
- /*
- * New Method: GetRootWindowCount
- */
- typedef ODUShort (SOMLINK *somTD_ODWindowState_GetRootWindowCount)(ODWindowState *somSelf, Environment *ev,
- ODDraft* draft);
- #define somMD_ODWindowState_GetRootWindowCount "::ODWindowState::GetRootWindowCount"
- #define ODWindowState_GetRootWindowCount(somSelf,ev,draft) \
- (SOM_Resolve(somSelf, ODWindowState, GetRootWindowCount) \
- (somSelf,ev,draft))
- #ifndef SOMGD_GetRootWindowCount
- #if (defined(_GetRootWindowCount) || defined(__GetRootWindowCount))
- #undef _GetRootWindowCount
- #undef __GetRootWindowCount
- #define SOMGD_GetRootWindowCount 1
- #else
- #define _GetRootWindowCount ODWindowState_GetRootWindowCount
- #endif /* _GetRootWindowCount */
- #endif /* SOMGD_GetRootWindowCount */
-
- /*
- * New Method: GetTotalRootWindowCount
- */
- typedef ODUShort (SOMLINK *somTD_ODWindowState_GetTotalRootWindowCount)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_GetTotalRootWindowCount "::ODWindowState::GetTotalRootWindowCount"
- #define ODWindowState_GetTotalRootWindowCount(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, GetTotalRootWindowCount) \
- (somSelf,ev))
- #ifndef SOMGD_GetTotalRootWindowCount
- #if (defined(_GetTotalRootWindowCount) || defined(__GetTotalRootWindowCount))
- #undef _GetTotalRootWindowCount
- #undef __GetTotalRootWindowCount
- #define SOMGD_GetTotalRootWindowCount 1
- #else
- #define _GetTotalRootWindowCount ODWindowState_GetTotalRootWindowCount
- #endif /* _GetTotalRootWindowCount */
- #endif /* SOMGD_GetTotalRootWindowCount */
-
- /*
- * New Method: IsODWindow
- */
- typedef ODBoolean (SOMLINK *somTD_ODWindowState_IsODWindow)(ODWindowState *somSelf, Environment *ev,
- ODPlatformWindow aWindow);
- #define somMD_ODWindowState_IsODWindow "::ODWindowState::IsODWindow"
- #define ODWindowState_IsODWindow(somSelf,ev,aWindow) \
- (SOM_Resolve(somSelf, ODWindowState, IsODWindow) \
- (somSelf,ev,aWindow))
- #ifndef SOMGD_IsODWindow
- #if (defined(_IsODWindow) || defined(__IsODWindow))
- #undef _IsODWindow
- #undef __IsODWindow
- #define SOMGD_IsODWindow 1
- #else
- #define _IsODWindow ODWindowState_IsODWindow
- #endif /* _IsODWindow */
- #endif /* SOMGD_IsODWindow */
-
- /*
- * New Method: AcquireODWindow
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_AcquireODWindow)(ODWindowState *somSelf, Environment *ev,
- ODPlatformWindow aWindow);
- #define somMD_ODWindowState_AcquireODWindow "::ODWindowState::AcquireODWindow"
- #define ODWindowState_AcquireODWindow(somSelf,ev,aWindow) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireODWindow) \
- (somSelf,ev,aWindow))
- #ifndef SOMGD_AcquireODWindow
- #if (defined(_AcquireODWindow) || defined(__AcquireODWindow))
- #undef _AcquireODWindow
- #undef __AcquireODWindow
- #define SOMGD_AcquireODWindow 1
- #else
- #define _AcquireODWindow ODWindowState_AcquireODWindow
- #endif /* _AcquireODWindow */
- #endif /* SOMGD_AcquireODWindow */
-
- /*
- * New Method: CreateWindowIterator
- */
- typedef ODWindowIterator* (SOMLINK *somTD_ODWindowState_CreateWindowIterator)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_CreateWindowIterator "::ODWindowState::CreateWindowIterator"
- #define ODWindowState_CreateWindowIterator(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, CreateWindowIterator) \
- (somSelf,ev))
- #ifndef SOMGD_CreateWindowIterator
- #if (defined(_CreateWindowIterator) || defined(__CreateWindowIterator))
- #undef _CreateWindowIterator
- #undef __CreateWindowIterator
- #define SOMGD_CreateWindowIterator 1
- #else
- #define _CreateWindowIterator ODWindowState_CreateWindowIterator
- #endif /* _CreateWindowIterator */
- #endif /* SOMGD_CreateWindowIterator */
-
- /*
- * New Method: AcquireActiveWindow
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_AcquireActiveWindow)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_AcquireActiveWindow "::ODWindowState::AcquireActiveWindow"
- #define ODWindowState_AcquireActiveWindow(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireActiveWindow) \
- (somSelf,ev))
- #ifndef SOMGD_AcquireActiveWindow
- #if (defined(_AcquireActiveWindow) || defined(__AcquireActiveWindow))
- #undef _AcquireActiveWindow
- #undef __AcquireActiveWindow
- #define SOMGD_AcquireActiveWindow 1
- #else
- #define _AcquireActiveWindow ODWindowState_AcquireActiveWindow
- #endif /* _AcquireActiveWindow */
- #endif /* SOMGD_AcquireActiveWindow */
-
- /*
- * New Method: SetBaseMenuBar
- */
- typedef void (SOMLINK *somTD_ODWindowState_SetBaseMenuBar)(ODWindowState *somSelf, Environment *ev,
- ODMenuBar* theMenuBar);
- #define somMD_ODWindowState_SetBaseMenuBar "::ODWindowState::SetBaseMenuBar"
- #define ODWindowState_SetBaseMenuBar(somSelf,ev,theMenuBar) \
- (SOM_Resolve(somSelf, ODWindowState, SetBaseMenuBar) \
- (somSelf,ev,theMenuBar))
- #ifndef SOMGD_SetBaseMenuBar
- #if (defined(_SetBaseMenuBar) || defined(__SetBaseMenuBar))
- #undef _SetBaseMenuBar
- #undef __SetBaseMenuBar
- #define SOMGD_SetBaseMenuBar 1
- #else
- #define _SetBaseMenuBar ODWindowState_SetBaseMenuBar
- #endif /* _SetBaseMenuBar */
- #endif /* SOMGD_SetBaseMenuBar */
-
- /*
- * New Method: CopyBaseMenuBar
- */
- typedef ODMenuBar* (SOMLINK *somTD_ODWindowState_CopyBaseMenuBar)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_CopyBaseMenuBar "::ODWindowState::CopyBaseMenuBar"
- #define ODWindowState_CopyBaseMenuBar(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, CopyBaseMenuBar) \
- (somSelf,ev))
- #ifndef SOMGD_CopyBaseMenuBar
- #if (defined(_CopyBaseMenuBar) || defined(__CopyBaseMenuBar))
- #undef _CopyBaseMenuBar
- #undef __CopyBaseMenuBar
- #define SOMGD_CopyBaseMenuBar 1
- #else
- #define _CopyBaseMenuBar ODWindowState_CopyBaseMenuBar
- #endif /* _CopyBaseMenuBar */
- #endif /* SOMGD_CopyBaseMenuBar */
-
- /*
- * New Method: AdjustPartMenus
- */
- typedef void (SOMLINK *somTD_ODWindowState_AdjustPartMenus)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_AdjustPartMenus "::ODWindowState::AdjustPartMenus"
- #define ODWindowState_AdjustPartMenus(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, AdjustPartMenus) \
- (somSelf,ev))
- #ifndef SOMGD_AdjustPartMenus
- #if (defined(_AdjustPartMenus) || defined(__AdjustPartMenus))
- #undef _AdjustPartMenus
- #undef __AdjustPartMenus
- #define SOMGD_AdjustPartMenus 1
- #else
- #define _AdjustPartMenus ODWindowState_AdjustPartMenus
- #endif /* _AdjustPartMenus */
- #endif /* SOMGD_AdjustPartMenus */
-
- /*
- * New Method: CreateMenuBar
- */
- typedef ODMenuBar* (SOMLINK *somTD_ODWindowState_CreateMenuBar)(ODWindowState *somSelf, Environment *ev,
- ODPlatformMenuBar menuBar);
- #define somMD_ODWindowState_CreateMenuBar "::ODWindowState::CreateMenuBar"
- #define ODWindowState_CreateMenuBar(somSelf,ev,menuBar) \
- (SOM_Resolve(somSelf, ODWindowState, CreateMenuBar) \
- (somSelf,ev,menuBar))
- #ifndef SOMGD_CreateMenuBar
- #if (defined(_CreateMenuBar) || defined(__CreateMenuBar))
- #undef _CreateMenuBar
- #undef __CreateMenuBar
- #define SOMGD_CreateMenuBar 1
- #else
- #define _CreateMenuBar ODWindowState_CreateMenuBar
- #endif /* _CreateMenuBar */
- #endif /* SOMGD_CreateMenuBar */
-
- /*
- * New Method: CreateCanvas
- */
- typedef ODCanvas* (SOMLINK *somTD_ODWindowState_CreateCanvas)(ODWindowState *somSelf, Environment *ev,
- ODGraphicsSystem graphicsSystem,
- ODPlatformCanvas platformCanvas,
- ODBoolean isDynamic,
- ODBoolean isOffscreen);
- #define somMD_ODWindowState_CreateCanvas "::ODWindowState::CreateCanvas"
- #define ODWindowState_CreateCanvas(somSelf,ev,graphicsSystem,platformCanvas,isDynamic,isOffscreen) \
- (SOM_Resolve(somSelf, ODWindowState, CreateCanvas) \
- (somSelf,ev,graphicsSystem,platformCanvas,isDynamic,isOffscreen))
- #ifndef SOMGD_CreateCanvas
- #if (defined(_CreateCanvas) || defined(__CreateCanvas))
- #undef _CreateCanvas
- #undef __CreateCanvas
- #define SOMGD_CreateCanvas 1
- #else
- #define _CreateCanvas ODWindowState_CreateCanvas
- #endif /* _CreateCanvas */
- #endif /* SOMGD_CreateCanvas */
-
- /*
- * New Method: CreateFacet
- */
- typedef ODFacet* (SOMLINK *somTD_ODWindowState_CreateFacet)(ODWindowState *somSelf, Environment *ev,
- ODFrame* frame,
- ODShape* clipShape,
- ODTransform* externalTransform,
- ODCanvas* canvas,
- ODCanvas* biasCanvas);
- #define somMD_ODWindowState_CreateFacet "::ODWindowState::CreateFacet"
- #define ODWindowState_CreateFacet(somSelf,ev,frame,clipShape,externalTransform,canvas,biasCanvas) \
- (SOM_Resolve(somSelf, ODWindowState, CreateFacet) \
- (somSelf,ev,frame,clipShape,externalTransform,canvas,biasCanvas))
- #ifndef SOMGD_CreateFacet
- #if (defined(_CreateFacet) || defined(__CreateFacet))
- #undef _CreateFacet
- #undef __CreateFacet
- #define SOMGD_CreateFacet 1
- #else
- #define _CreateFacet ODWindowState_CreateFacet
- #endif /* _CreateFacet */
- #endif /* SOMGD_CreateFacet */
-
- /*
- * New Method: AcquireCurrentMenuBar
- */
- typedef ODMenuBar* (SOMLINK *somTD_ODWindowState_AcquireCurrentMenuBar)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_AcquireCurrentMenuBar "::ODWindowState::AcquireCurrentMenuBar"
- #define ODWindowState_AcquireCurrentMenuBar(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireCurrentMenuBar) \
- (somSelf,ev))
- #ifndef SOMGD_AcquireCurrentMenuBar
- #if (defined(_AcquireCurrentMenuBar) || defined(__AcquireCurrentMenuBar))
- #undef _AcquireCurrentMenuBar
- #undef __AcquireCurrentMenuBar
- #define SOMGD_AcquireCurrentMenuBar 1
- #else
- #define _AcquireCurrentMenuBar ODWindowState_AcquireCurrentMenuBar
- #endif /* _AcquireCurrentMenuBar */
- #endif /* SOMGD_AcquireCurrentMenuBar */
-
- /*
- * New Method: AcquireBaseMenuBar
- */
- typedef ODMenuBar* (SOMLINK *somTD_ODWindowState_AcquireBaseMenuBar)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_AcquireBaseMenuBar "::ODWindowState::AcquireBaseMenuBar"
- #define ODWindowState_AcquireBaseMenuBar(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireBaseMenuBar) \
- (somSelf,ev))
- #ifndef SOMGD_AcquireBaseMenuBar
- #if (defined(_AcquireBaseMenuBar) || defined(__AcquireBaseMenuBar))
- #undef _AcquireBaseMenuBar
- #undef __AcquireBaseMenuBar
- #define SOMGD_AcquireBaseMenuBar 1
- #else
- #define _AcquireBaseMenuBar ODWindowState_AcquireBaseMenuBar
- #endif /* _AcquireBaseMenuBar */
- #endif /* SOMGD_AcquireBaseMenuBar */
-
- /*
- * New Method: DeactivateFrontWindows
- */
- typedef void (SOMLINK *somTD_ODWindowState_DeactivateFrontWindows)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_DeactivateFrontWindows "::ODWindowState::DeactivateFrontWindows"
- #define ODWindowState_DeactivateFrontWindows(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, DeactivateFrontWindows) \
- (somSelf,ev))
- #ifndef SOMGD_DeactivateFrontWindows
- #if (defined(_DeactivateFrontWindows) || defined(__DeactivateFrontWindows))
- #undef _DeactivateFrontWindows
- #undef __DeactivateFrontWindows
- #define SOMGD_DeactivateFrontWindows 1
- #else
- #define _DeactivateFrontWindows ODWindowState_DeactivateFrontWindows
- #endif /* _DeactivateFrontWindows */
- #endif /* SOMGD_DeactivateFrontWindows */
-
- /*
- * New Method: ActivateFrontWindows
- */
- typedef void (SOMLINK *somTD_ODWindowState_ActivateFrontWindows)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_ActivateFrontWindows "::ODWindowState::ActivateFrontWindows"
- #define ODWindowState_ActivateFrontWindows(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, ActivateFrontWindows) \
- (somSelf,ev))
- #ifndef SOMGD_ActivateFrontWindows
- #if (defined(_ActivateFrontWindows) || defined(__ActivateFrontWindows))
- #undef _ActivateFrontWindows
- #undef __ActivateFrontWindows
- #define SOMGD_ActivateFrontWindows 1
- #else
- #define _ActivateFrontWindows ODWindowState_ActivateFrontWindows
- #endif /* _ActivateFrontWindows */
- #endif /* SOMGD_ActivateFrontWindows */
-
- /*
- * New Method: AcquireFrontWindow
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_AcquireFrontWindow)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_AcquireFrontWindow "::ODWindowState::AcquireFrontWindow"
- #define ODWindowState_AcquireFrontWindow(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireFrontWindow) \
- (somSelf,ev))
- #ifndef SOMGD_AcquireFrontWindow
- #if (defined(_AcquireFrontWindow) || defined(__AcquireFrontWindow))
- #undef _AcquireFrontWindow
- #undef __AcquireFrontWindow
- #define SOMGD_AcquireFrontWindow 1
- #else
- #define _AcquireFrontWindow ODWindowState_AcquireFrontWindow
- #endif /* _AcquireFrontWindow */
- #endif /* SOMGD_AcquireFrontWindow */
-
- /*
- * New Method: AcquireFrontFloatingWindow
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_AcquireFrontFloatingWindow)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_AcquireFrontFloatingWindow "::ODWindowState::AcquireFrontFloatingWindow"
- #define ODWindowState_AcquireFrontFloatingWindow(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireFrontFloatingWindow) \
- (somSelf,ev))
- #ifndef SOMGD_AcquireFrontFloatingWindow
- #if (defined(_AcquireFrontFloatingWindow) || defined(__AcquireFrontFloatingWindow))
- #undef _AcquireFrontFloatingWindow
- #undef __AcquireFrontFloatingWindow
- #define SOMGD_AcquireFrontFloatingWindow 1
- #else
- #define _AcquireFrontFloatingWindow ODWindowState_AcquireFrontFloatingWindow
- #endif /* _AcquireFrontFloatingWindow */
- #endif /* SOMGD_AcquireFrontFloatingWindow */
-
- /*
- * New Method: AcquireFrontRootWindow
- */
- typedef ODWindow* (SOMLINK *somTD_ODWindowState_AcquireFrontRootWindow)(ODWindowState *somSelf, Environment *ev);
- #define somMD_ODWindowState_AcquireFrontRootWindow "::ODWindowState::AcquireFrontRootWindow"
- #define ODWindowState_AcquireFrontRootWindow(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowState, AcquireFrontRootWindow) \
- (somSelf,ev))
- #ifndef SOMGD_AcquireFrontRootWindow
- #if (defined(_AcquireFrontRootWindow) || defined(__AcquireFrontRootWindow))
- #undef _AcquireFrontRootWindow
- #undef __AcquireFrontRootWindow
- #define SOMGD_AcquireFrontRootWindow 1
- #else
- #define _AcquireFrontRootWindow ODWindowState_AcquireFrontRootWindow
- #endif /* _AcquireFrontRootWindow */
- #endif /* SOMGD_AcquireFrontRootWindow */
-
- /*
- * New Method: SetWindowModule
- */
- typedef void (SOMLINK *somTD_ODWindowState_SetWindowModule)(ODWindowState *somSelf, Environment *ev,
- ODWindowModule* windowModule);
- #define somMD_ODWindowState_SetWindowModule "::ODWindowState::SetWindowModule"
- #define ODWindowState_SetWindowModule(somSelf,ev,windowModule) \
- (SOM_Resolve(somSelf, ODWindowState, SetWindowModule) \
- (somSelf,ev,windowModule))
- #ifndef SOMGD_SetWindowModule
- #if (defined(_SetWindowModule) || defined(__SetWindowModule))
- #undef _SetWindowModule
- #undef __SetWindowModule
- #define SOMGD_SetWindowModule 1
- #else
- #define _SetWindowModule ODWindowState_SetWindowModule
- #endif /* _SetWindowModule */
- #endif /* SOMGD_SetWindowModule */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODWindowState_InitObject ODObject_InitObject
- #define ODWindowState_HasExtension ODObject_HasExtension
- #define ODWindowState_AcquireExtension ODObject_AcquireExtension
- #define ODWindowState_ReleaseExtension ODObject_ReleaseExtension
- #define ODWindowState_IsEqualTo ODObject_IsEqualTo
- #define ODWindowState_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODWindowState_somInit SOMObject_somInit
- #define ODWindowState_somInit SOMObject_somInit
- #define ODWindowState_somDuplicateReference SOMObject_somDuplicateReference
- #define ODWindowState_somCompareReference SOMObject_somCompareReference
- #define ODWindowState_somRelease SOMObject_somRelease
- #define ODWindowState_somFree SOMObject_somFree
- #define ODWindowState_somCanDelete SOMObject_somCanDelete
- #define ODWindowState_somGetClass SOMObject_somGetClass
- #define ODWindowState_somGetClassName SOMObject_somGetClassName
- #define ODWindowState_somGetSize SOMObject_somGetSize
- #define ODWindowState_somIsA SOMObject_somIsA
- #define ODWindowState_somRespondsTo SOMObject_somRespondsTo
- #define ODWindowState_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODWindowState_somDispatch SOMObject_somDispatch
- #define ODWindowState_somClassDispatch SOMObject_somClassDispatch
- #define ODWindowState_somCastObj SOMObject_somCastObj
- #define ODWindowState_somResetObj SOMObject_somResetObj
- #define ODWindowState_somPrintSelf SOMObject_somPrintSelf
- #define ODWindowState_somDumpSelf SOMObject_somDumpSelf
- #define ODWindowState_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODWindowState_h */
-